package drg_group.beijing_2022.MDC;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;

import drg_group.beijing_2022.Base;
import drg_group.beijing_2022.MedicalRecord;
import drg_group.beijing_2022.ADRG.*;

public class MDCJ{
    public static String group(MedicalRecord record){
        String[] mdc_zd={"L01.000x011","B09.x01","L81.800","L40.800","T11.000x021","L71.000","L93.202","L90.505","A18.400x020","S40.000x002","S40.000x003","L25.500","L98.801","E10.603+L99.8*","L28.003","C44.702","L98.300","S70.800x041","D23.501","S90.000","T00.900","L50.202","R22.902","L72.800x004","L02.901","C44.508","L73.000","L75.000","M79.806","L81.300","C50.001","S90.300x002","L90.500x048","L90.500x066","L89.303","B07.x00x011","L90.500x024","Q83.100x001","L73.802","L25.100","Z41.100x018","S60.201","L98.800x012","L98.800x023","L01.000x012","Z42.203","L90.500x062","Z41.100x020","L81.800x003","L90.500x036","L59.900","L90.500x020","S80.800x041","L02.202","L81.000","M79.811","N64.502","Q85.900x022","L94.800","D22.602","E11.600x024","L60.802","Q82.200","L10.800x001","L27.801","B35.800x003","D03.700x002","C43.706","D23.500x003","L57.800x004","L67.104","L81.800x005","L90.500x057","R22.700x002","D03.600","B00.000","L40.101","R22.002","L81.500","L50.200","L20.900","Z41.100x003","L90.500x029","Z42.403","L40.102","S60.701","E14.600x028","L90.500x013","C50.600","L57.500","L92.903","Z42.301","L56.401","R92.x00","S80.800x043","B37.900x001","E83.201","L81.803","L70.001","L08.802","L03.800","C79.200","L90.500x012","D48.500x003","L90.803","C44.600","S90.800x012","L81.405","D23.700x002","Q85.900x026","L60.800x012","L24.901","L57.900","L60.800x004","L98.800x026","R22.206","L67.800","L73.805","C43.505","I89.800x029","L94.301","L90.500x045","B40.300","Z41.100x019","L56.400","R22.000x003","L02.900x006","C44.605","E51.100x006","S60.900","L94.400","L01.008","L22.x01","L03.003","E11.600x021","S80.901","T11.000x051","I89.800x025","C43.800","L63.900","D03.900","L74.001","L30.300","L60.800x007","L81.801","B35.001","B35.800x002","B37.900x003","S80.800x032","L65.200","D18.006","L52.x00","L72.101","L23.200","D03.600x002","Q84.000","B86.x00x007","S60.202","L60.800x014","L60.800x028","S90.800x031","D48.517","T79.700","L90.500x049","L29.300","L71.100","Z42.200x003","T00.200x001","R22.207","R22.100x001","C43.502","E14.600x025","D48.506","L30.804","D17.301","D04.700x001","N64.900","E14.600x026","R22.903","E10.600x023","B36.300x002","C43.500","C50.900x005","L70.801","S50.800x021","L59.000","L41.400","A60.100x002","R22.200x004","L90.500x034","A18.401","L66.400","B78.100x001+L99.8*","L60.800x025","L90.500x017","L08.000x001","L24.201","L02.900x002","S80.800x012","Q82.506","L43.200","L30.803","N60.400","Z42.304","I89.900","L02.900x001","D04.502","M31.000x005","N60.100x002","L08.000x008","S39.911","C46.000","S30.100x002","L24.400","L27.101","S20.802","Z41.100x006","D48.505","D17.000x004","S80.800x011","S30.800x004","L25.400","Q82.502","L02.902","L89.200","S90.800x011","L60.000","T00.900x006","D18.000x847","S60.800x032","Q85.900x024","L81.601","L41.900","L60.800x015","S60.700","L90.504","A18.405","L91.002","B07.x00x010","L03.109","S90.800x023","L23.801","B37.201","M79.809","N64.200","N62.x00x001","L25.000","B38.300","Z42.401","C44.705","L24.800","D22.509","C43.600","D04.600x001","I89.000x015","L02.200","S40.800x021","L94.300","D17.300x004","L12.202","L72.000x007","L03.900","L67.000","D48.500x009","L24.203","D03.503","D17.100x002","Z42.200x002","R22.400x003","L43.301","D23.502","L98.701","T11.000x031","L70.803","R23.800x001","C79.200x001","L43.100","M79.805","A18.406","M79.804","R22.904","L23.101","L03.001","L43.800","I89.100x002","D22.508","L50.802","L30.204","L30.902","L02.403","D23.600x001","L90.500x067","S30.003","L59.801","T00.900x004","D28.000x001","B07.x05","S40.800x041","L12.000","L89.306","S70.800x042","S20.101","N61.x04","L13.800","M79.801","T14.001","Q85.801","M34.100","R22.004","S30.000x001","L89.105","C43.705","L30.202","L56.900","M79.404","L66.100","S40.800x031","E11.600x026","L03.200","D18.008","L53.100","L98.800x017","C43.600x002","L53.200","Q82.803","Z52.100","D17.200x004","I89.009","L70.500","S30.000x003","L01.001","T13.000x021","L03.002","L90.500x056","Q83.800x005","L90.500x016","B00.101","D24.x00","L44.900","S20.803","Q82.505","T09.000","L28.001","C79.200x007","L57.801","B00.100x004+H62.1*","L93.200","D48.514","L75.201","Q82.801","Z42.402","B35.300","A18.411","D23.601","L40.900","C43.701","L03.004","L90.500x063","L68.100","L73.800","N64.802","L23.002","S70.000","D22.507","S60.800x012","S60.800x021","L24.300","R22.000x004","L65.800x005","L90.500x025","L73.200","B07.x03","S40.800x012","A36.300","L57.802","L26.x01","S80.101","L70.100","L55.800","L03.105","L21.901","L02.200x010","L90.500x006","L81.407","L70.200","B00.801+L99.8*","L94.600","T13.000x041","Z41.100x016","L02.300","L51.900","L89.106","T09.000x031","Q84.300","S90.800x022","S90.900x003","L98.800x001","L23.901","T13.000x031","L89.006","T13.000","D03.800","L11.000","Z41.100x010","T01.301","L24.501","R22.203","B35.002","L73.800x006","S20.800x002","L72.104","L23.400","D23.500x010","Z41.100x007","S50.800x041","L65.800x004","L53.300","L12.103+H13.3*","L50.100","L08.908","C43.707","L74.000","Q82.809","L08.000x005","L40.100","L89.008","L80.x00","L67.103","C43.900x003","B46.300x001+L99.8*","L89.101","N60.100x003","D04.701","L98.800x015","L60.800x021","L24.700","L90.500x074","C43.703","R22.402","Z41.100x021","L98.800x011","L90.500x019","L23.503","L90.500x042","Q82.802","L08.800x005","N64.804","S60.800x042","Q82.806","C50.804","L28.002","L41.300","L75.900","Q84.600x001","I89.800x026","S50.900","Q82.800x010","L08.900","C43.507","L70.203","C44.706","L10.300","L02.100","L68.200","L98.800","B35.801","L73.800x007","L90.500x035","L40.103","L67.102","N60.300","L10.800x002","S50.901","S40.001","L98.501","S30.801","T11.101","L90.000","R21.x02","L85.900","D17.900x002","D48.500x010","L90.500x030","L66.300","L27.000x004","L58.101","L60.800x011","D17.200x003","S30.104","C44.601","Q84.500","Z41.100x008","C44.603","L42.x00","L08.001","D24.x01","L90.500x043","C79.205","S80.000","L94.900","S20.202","A18.400x001","L93.200x003","L85.800","D05.100","S90.800x043","Q80.800","R23.800x002","L90.500x015","L30.903","C50.800x005","L55.100","Z42.205","N64.300x001","L40.000","M79.400","L72.902","S60.800x041","L65.904","L85.804","L98.800x020","L02.203","L27.100","D48.511","C43.602","S20.801","L90.500x046","B35.400","D18.000x816","S80.900","S60.100x001","L30.400x004","L57.200","L72.000x010","L02.206","L72.106","L28.000x006","L28.200","L98.800x018","D04.500","N62.x01","L50.500","Q82.300","C44.507","L50.201","E11.600x970","L90.500x032","N60.100","E14.600x021","L44.000","N60.000x001","Z42.204","B36.901","D03.502","L81.400x001","L08.000x010","L05.000","N64.805","L02.801","D17.500x010","Q82.507","L23.900","L03.000x015","D23.506","L90.804","R60.900x004","I89.800x024","T85.401","L55.200","D17.100x003","L10.000","L65.801","T14.003","L13.100","L90.500x073","S40.701","C44.704","N62.x00","S30.800x003","D48.500x007","B36.000x001","L63.000","L73.803","S80.800x022","L03.101","E10.600x027+L99.8*","N61.x07","Q81.100","L08.905","T00.000x001","L75.200","L98.800x010","C50.100","B36.000x003","B36.200x001","L08.803","L60.800x024","E14.600x027+L99.8*","L98.702","A18.400x014","L67.105","L13.000","T00.900x007","L67.106","L03.102","E11.600x027+L99.8*","L28.100","L24.202","A18.408","L72.903","L21.001","L63.100","L90.805","L90.500x038","A18.410","A18.403","I89.800x012","L90.500x021","Q83.801","S30.900x002","E10.600x028","L30.901","L40.400","A18.400x022","D22.510","D23.500x006","L89.301","L44.200","L53.901","D04.900x001","L72.800x001","Q82.800x006","N63.x00","L66.000","D22.500","Q83.802","S50.700","L25.200","L72.100","C79.204","L24.500","Q83.100","S20.201","D04.601","T11.000x041","L70.002","L28.201","L68.900","C44.502","L01.000x013","T00.800x001","L02.803","L08.800x011","L27.004","S40.800x032","I89.002","D18.000x010","L05.901","L90.500x061","L68.800","L03.301","L40.500","L98.800x014","D48.502","L56.100","Q84.601","T09.000x041","L74.200","B00.100x005","L93.000","S90.700","S80.800x033","D04.504","D23.400x003","L95.900x001","L30.000","B45.200","L98.200","T00.901","Z42.300x001","B07.x04","L66.200","L89.308","N64.504","B44.800x002","B88.000x004+L99.8*","D04.503","M54.001","S90.800x013","R21.x01","R22.300x001","L12.101","D22.601","E10.600x026","Q82.000","L10.900","L08.002","L55.900","N60.202","L90.500x044","L95.000","R21.x00x003","R22.700x001","L90.500x072","D86.300x002","D48.504","C43.506","L60.800x022","C44.604","L65.901","E16.300x003+L54.8*","Z42.201","A18.811","L90.401","B35.800x004","L02.800","L41.000x002","S80.800x013","L90.500x051","D36.700x009","N64.501","S90.300x003","L60.200","L89.304","L30.904","L27.003","I89.800x030","L01.100","L92.302","Q82.808","L10.400","Q83.200","D03.500x002","D17.300x002","D18.000x828","L90.500x010","L27.002","D17.200x005","S60.800x031","Q80.400","C96.200x006","L27.800","S80.800x042","L30.801","L50.803","L24.503","D23.504","S40.800x042","L27.200","N62.x00x007","Z41.104","N60.000","E50.801+L86*","L41.100","A18.402","Q82.805","L10.801","T00.600x001","L20.803","Z41.105","Z41.100x009","L08.800x006","L60.301","S30.200x006","D48.500x004","L90.500x058","D05.000","L44.400","T09.000x051","N64.200x001","S20.300x001","D17.300x005","D03.700x001","D23.505","I89.800x014","Z41.100x015","L57.100","L81.701","Q84.602","Q81.200","M34.000","L40.200","L83.x01","L10.200","L92.800","S90.300x001","L95.800","L08.907","N64.803","E11.600x028","L24.000","D22.501","Q84.100","D22.900x017","D17.101","Q85.900x028","L02.802","L24.600","T00.100x001","L53.000","L60.300","D17.500x011","L51.802","L90.500x028","L13.101","S80.100x002","I89.800x028","L70.003","B40.301+L99.8*","L91.001","C50.901","L74.300","L21.900","M79.803","C44.509","C50.902","S90.800x032","L08.903","L25.201","D22.504","B08.800x007","L60.800x010","L40.002","Q82.800x003","S90.800x041","E10.600x970","L65.802","Q18.902","L03.801","D23.503","L28.000","L90.500x050","L60.400","T14.000x031","L02.201","D23.700x001","L50.600","L60.201","R21.x00x004","L98.900x002","L81.200","A18.400x006","S70.800x011","R22.300x002","T14.000x021","L63.800","Z41.100x011","L72.200","N64.400","L64.900","Q82.800x011","L98.800x007","L44.300","L87.800","L28.202","N60.201","L51.000","L67.900","C43.504","D36.716","R22.302","D48.500x005","L03.108","B43.200","L23.504","L98.700x001","D86.300","T11.001","D22.900x021","Q85.900x009","L50.801","L85.100","B87.000x001+L99.8*","L24.504","M54.003","L12.102+H13.3*","L60.900","L87.200","L65.903","L98.502","N60.000x002","D18.000x848","L20.802","Z41.100x024","B37.900x002","L21.100","R22.205","L81.703","L02.200x004","L55.000","L92.200","B35.200","L20.804","N62.x00x004","L94.500","L57.800x005","L82.x00","L90.200","S70.900x001","D48.500x002","B43.000","L12.900","B00.804+L99.8*","Q85.900","Q82.504","D18.005","L93.100","L72.900x003","B09.x00x002","N63.x01","L25.900","L60.800x009","Q82.804","R22.204","L24.502","L41.801","Q83.803","C50.300","L90.500x014","S80.800x021","S70.100","T14.000","D48.600x001","L81.402","Q81.900","Z42.800x001","S70.800x021","I89.800x015","L43.902","R22.100x002","T09.000x021","L13.900","L11.100","Z42.303","L90.800","S39.910","Z42.200x001","L60.800x016","S80.700","L40.003","L56.200","L65.100","L84.x00x002","L60.800x023","N64.503","L02.804","Z41.100x017","L67.100","L27.201","L98.400","L30.500x003","L81.100","L71.900","Q84.400","B37.202","S60.900x002","S70.900x002","S50.701","S30.100x004","S20.200x003","L89.208","R60.900x003","S90.100","L10.800","Q84.202","C43.508","L12.200","L23.600","L08.003","L87.900","Q84.600x003","L74.801","C44.901","L53.800","L56.300","C43.704","L08.800x008","L92.301","L24.900","I89.800x013","L56.800","L90.500x041","L83.x02","E85.413+L99.0*","D23.701","Q18.301","R23.400x003","L43.901","M54.002","C43.700x001","Q80.200","C50.803","L60.800x008","L29.801","D48.513","C44.505","S30.800x001","L00.x00","L03.103","D03.900x002","L83.x00","L27.900","N60.101","L90.500x037","L95.100","Z42.302","L23.501","L81.900","Q84.600x002","L85.803","L70.004","L89.302","C43.601","L73.100","L60.800x017","L11.800","L90.501","L23.001","L94.000","C50.800","S21.000","L08.902","L89.207","C50.900","L90.500x059","L65.902","S31.002","L23.502","L57.300","L20.806","S50.800x011","B00.100","B72.x00x001","D48.500x006","A18.407","D23.900","L58.100","L10.100","L84.x01","L60.800x032","B35.600x002","E14.600x022","L24.205","L63.200","E10.600x024","T81.800x009","Q84.501","L98.101","D48.515","L02.402","N60.900","Q82.810","D18.007","L89.300","Q84.201","I89.800x022","L70.201","L74.100","D22.901","L90.500x052","B86.x00x006","L92.300","L08.000x007","L74.400","L90.500x009","I89.000x017","L92.100","B86.x00x003","L23.700","T00.900x005","D18.000x851","L72.800x003","D48.510","C44.504","D48.500x011","C43.900","S30.900x003","S70.700x002","D48.503","C50.400","L05.900","L92.901","L29.800","L72.900x002","L29.000","C50.000x001","L90.400","L60.100","S30.001","S60.000x001","B07.x01","L28.000x007","Q81.000","D22.701","L71.800","Q84.900","Z41.100x014","L03.304","L85.900x001","L81.700x002","L90.600","Q82.100","C50.000","S30.000x004","C44.800","N60.801","L50.400","L95.800x004","L66.900","C50.801","S90.800x033","E05.906","L05.000x001","N64.100","N61.x03","L44.100","L90.500x026","N64.801","L58.000","C43.702","Z41.100x004","Q85.900x025","L40.001","L95.801","L72.000x011","D18.000x852","L29.900","L90.500x060","B37.200x003","Q84.800x012","S90.900x002","L01.004","L90.500x008","D17.200x002","S30.100x001","I89.800x020","L90.500x047","L90.901","L89.203","D48.500x014","B00.102","L25.300","L81.401","Z42.800x002","Q84.801","L02.401","L26.x00","A46.x00","C44.500","L98.503","Q82.201","L60.800x029","L85.300","L12.300","B88.001+L99.8*","D18.000x812","S40.800x022","L08.000x006","L57.400","M34.200","L70.900","L03.302","L72.102","L60.800x030","E14.600x024","L73.800x005","L93.001","Q82.800x001","D17.200x001","L81.404","D04.800","L70.300","D22.900x002","L98.804","S50.800x081","D05.900","Q80.900","L90.100","L89.107","L98.500","S30.200x005","L24.206","L84.x00x001","L90.500x031","Z41.100x023","E51.100x005+I98.8*","L08.909","L08.901","C44.606","C43.501","L01.002","L94.100","L08.904","E11.600x025","L98.401","S60.902","B35.500","L08.906","D23.500","B35.003","R22.400x002","L88.x00","T14.000x041","B35.600","L98.800x013","C44.900","D48.508","L57.001","D48.512","L65.800x003","B88.000x006+L99.8*","S30.900x001","Z41.100x022","B35.000","L75.100","L72.105","L40.802","L91.801","T14.000x011","Q82.503","I89.800x027","R22.005","R22.200x002","Q83.900","S40.900","Q83.300","D03.500","L74.900","L81.702","Z41.100x002","L90.500x027","L51.100","L95.901","S30.700","D04.501","R22.901","L89.002","L27.005","L72.905","E14.600x970","L60.800x020","Q80.200x002","L23.000","L03.306","Q84.600x004","E11.603+L99.8*","L90.502","L93.201","Q82.800x004","N61.x01","L08.900x028","L50.900","L98.800x022","T01.800x001","B86.x00x004","N61.x02","L24.800x001","D05.700","L40.301","C50.802","L03.802","L68.300","L98.800x027","N61.x00x004","L75.800","L24.200","Q80.800x001","Q85.915","C43.503","B86.x00","A18.409","C43.901","E11.600x023","B00.100x001","L89.001","I89.000x026","L53.801","Q82.800x018","L30.800","L90.500x053","L65.000","S60.800x033","T09.000x011","T14.000x003","B40.302+L99.8*","L21.800","L11.900","L08.911","L81.403","Q83.000","L89.206","C44.602","L90.300","L90.500x054","L50.000","L91.900","L43.000","L89.102","L30.905","L70.400","T00.300x001","L57.803","Z42.202","T11.000","T14.101","L98.802","D22.505","S30.100x007","L60.800x026","L90.500x033","S50.000","L03.106","L72.901","L81.400","D03.501","R58.x02","L60.500","L08.000x009","L98.800x021","L60.800x031","L70.900x002","L29.802","S90.800x021","L60.800x034","A18.400x013","M79.802","L91.800","L90.500x011","C50.500","L98.800x016","L53.900","L23.300","E14.600x023","L89.305","M79.401","L57.800x006","L60.800x033","L02.903","Q80.100","L41.500","Z41.100x005","L02.205","Q82.400","N62.x02","L98.000","S70.800x032","Q82.800x019","C43.605","B37.205","L89.104","L90.500x022","L92.801","Q80.000","Q82.501","N61.x05","L70.202","L10.500","Z41.000","L08.910","S50.800x031","L12.100","L50.300","D22.600","N64.002","M35.600","L70.000","B35.100","L03.303","L08.804","D48.509","L81.802","L58.900","S70.900x003","B37.203","L60.800x018","L27.000x006","L90.500x007","D48.516","Q80.300","C50.200","L12.201","D17.100x001","R22.006","D24.x02","L90.900x001","Q82.500x005","S20.000","L94.200","L30.100","D03.602","L73.804","D48.507","L90.801","L60.800x013","D18.000x849","T00.900x003","L98.001","N60.200","T85.400","L67.101","L90.500x055","D48.601","D18.000x850","L57.000","M31.000","D23.401","L60.803","L30.802","L85.000","L23.100","D03.504","T00.900x002","L81.600","I89.000x013","M34.803","L60.800x019","L01.005","B35.901","T13.000x051","S40.800x011","L89.003","L85.801","S70.800x022","L72.000x006","B35.000x001","B07.x00x008","L41.000","L90.902","L89.900","L87.001","L23.500","D22.900x003","N61.x06","S70.800x012","S80.800x023","M79.403","L02.200x009","L56.000","L01.003","C79.806","L03.104","L21.002","D22.506","L30.500","Q82.900","S31.001","D17.300x001","L95.900","L90.500x040","L73.900","C44.701","L30.201","Z41.100x012","L29.100","N64.001","L89.100","C79.200x005","R22.000x005","D22.900","E51.100","Q84.200","L20.801","C43.604","C44.700","R22.003","Q82.508","B41.800x002","L25.800","D03.701","L40.300","Z42.100x001","B07.x00x006","D18.000x018","S80.800x031","I97.200","L72.904","N61.x00x013","L97.x00","B72.x00","D48.500x012","D22.502","L30.400","L60.800x027","S70.700x001","L03.107","L90.500x064","L44.800","Z42.801","Q83.100x002","R22.202","L98.600","C44.501","S90.200","R22.200x001","Q81.800","A18.400x021","L89.307","S30.002","L24.601","L72.900x001","B36.300","L30.301","L90.500x018","L21.000","L30.900","D22.500x008","R23.400x001","L03.000","S30.101","S60.800x011","S90.901","L95.802","L70.005","A18.404","L89.000","Z42.400x001","Q82.807","S20.200","L73.801","E10.600x025","Q85.900x049","L92.000","L24.100","L66.800","L30.203","Q84.502","B36.200","L89.201","C79.200x006","D22.700","D22.511","L60.800x006","L90.503","L70.802","D23.602","S90.301","S70.901","N61.x00x014","M79.807","S20.700","S40.000x001","S40.700","S60.800x022","L22.x00","D17.900x001","C44.703","B36.100","D22.503","L08.805","L24.204","L08.801","C79.800x831","R21.x00x001","B86.x00x005","S60.901","L90.500x071","S60.800x043","L28.203","L89.202","S60.800x023","C43.603","L60.801","T14.002","L89.205","L89.005","S60.801","L60.800x005","S20.301","L64.801","D23.600x002","B35.100x002","D48.500x008","L89.204","T13.000x011","L89.103","L82.x01","S30.800x002","Q83.800x004","L98.803","L89.108","L20.000","L24.800x002","L68.000","L64.000","S30.100","D03.601","L03.305","L24.801","B37.204","Z41.100x013","L03.300","E10.600x021","L82.x02","Q84.101","L51.200","C44.506","S50.101","R23.801","L13.901","L12.800","T00.902","L89.004","S90.800x042","D48.501","L72.000","L90.500x023","A18.412","S70.800x031","L72.103","C43.606","L53.101","L90.500x065","I89.000x004","L89.007","L90.500x039","C44.707","C44.503","D22.702","R23.401","S20.400x001","L85.200","L08.100","L40.801","E50.800x002+L86*","A18.400x010"};
        String[] dept_list={};
        if (!(true && Base.contains(mdc_zd,record.zdList[0]))){
            return "";
        }
        
        Base.groupMessages.putMessage(record.Index,"符合MDCJ入组条件，匹配规则：主诊断匹配");
        String result;

        result=JA1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JA2.group(record);
        if (result.length()>0){
            return result;
        }

        result=JB1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JB2.group(record);
        if (result.length()>0){
            return result;
        }

        result=JB3.group(record);
        if (result.length()>0){
            return result;
        }

        result=JC1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JD1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JD2.group(record);
        if (result.length()>0){
            return result;
        }

        result=JJ1.group(record);
        if (result.length()>0){
            return result;
        }

        if (false && record.ssList!=null && record.ssList.length>0  && Base.intersect(Base.SS_VALID,record.ssList)){
            Base.groupMessages.putMessage(record.Index,"符合JQY入组条件，存在有效手术操作："+String.join(",",Base.Intersect(record.ssList,Base.SS_VALID)));
            return "JQY";
        }

        result=JR1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JR2.group(record);
        if (result.length()>0){
            return result;
        }

        result=JS1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JS2.group(record);
        if (result.length()>0){
            return result;
        }

        result=JT1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JU1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JV1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JV2.group(record);
        if (result.length()>0){
            return result;
        }

        result=JZ1.group(record);
        if (result.length()>0){
            return result;
        }

        Base.groupMessages.putMessage(record.Index,"不符合MDCJ的ADRG入组条件");
        return "";
    }
}

